import { ADDTODOLIST, DELETETODOLIST } from "../constant";
/*
    TodoList组件Action

*/

export const addTodoAction = data => ({ type: ADDTODOLIST, data })
export const deleteTodoAction = data => ({ type: DELETETODOLIST, data })